import Mock from "mockjs";
import dept from './mockServeData/dept'
import staff from './mockServeData/staff'

//定义mock请求拦截

// Mock.mock('/api/dept/add', 'post', dept.createDept)
// Mock.mock('/api/dept/edit', 'post', dept.updateDept)
// Mock.mock('/api/dept/del', 'post', dept.deleteDept)
// Mock.mock('/api/dept/bat', 'post', dept.batchRemove)
// Mock.mock(/api\/dept\/getDept/, dept.getDeptList)

// Mock.mock('/api/staff/add', 'post', staff.createStaff)
// Mock.mock('/api/staff/edit', 'post', staff.updateStaff)
// Mock.mock('/api/staff/del', 'post', staff.deleteStaff)
// Mock.mock('/api/staff/bat', 'post', staff.batchRemove2)
// Mock.mock(/api\/staff\/getStaff/, staff.getStaffList)